﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

namespace TheQuest
{
    class Mace : Weapon
    {
        public Mace(Game game, Point location)
            : base(game, location)
        { }
        
        int radius = 20;
        int damage = 6;
        public override string Name { get { return "Mace"; } }

        public override void Attack(Direction direction, Random random)
        {
            foreach (Enemy enemy in game.Enemies)
            {
                if (Nearby(enemy.Location, radius))
                {
                    DamageEnemy(direction, radius, damage, random);
                }
                //STILL NEED TO ADD ARCS OF ATTACK!
            }
        }
    }
}
